#ifndef SYSTEMFONTSIZE_H
#define SYSTEMFONTSIZE_H

#include <QObject>
#include <QGSettings/QGSettings>
#include <QFont>
#include "gsettingmonitor.h"

class SystemFontSize : public QObject
{
    Q_OBJECT
public:
    SystemFontSize(QObject *parent = nullptr);
    ~SystemFontSize();

    static SystemFontSize *getInstance();

    QFont getFontSize12px();
    QFont getFontSize16px();
    void getSystemFontSize();
    int getSystemFontHeight();
Q_SIGNALS:
    void signalChangeFontSize();

private:
    void changeFontSize();

private:
    double m_font12pxToPt;
    double m_font16pxToPt;
};

#endif // SYSTEMFONTSIZE_H
